// $Id: etpro_menu_main.menu,v 1.1.2.1 2004/07/06 19:34:07 fretn Exp $

#include "ui/menudef.h"

// Defines //

#define WINDOW_X		16
#define WINDOW_Y		16
//#define WINDOW_WIDTH	128
#define WINDOW_WIDTH	160
#define WINDOW_HEIGHT	176
#define GROUP_NAME		"grpetpromenumain"

#ifdef FUI
#define MAIN_MENU main
#else
#define MAIN_MENU ingame_main
#endif

// Macros //

#include "ui/menumacros.h"

///////////////////////////////////////////////ETPRO MAIN///////////////////////////////////////////

menuDef {
	name		"etpro_menu_main"
	visible		0
	fullscreen	0
	rect		WINDOW_X WINDOW_Y WINDOW_WIDTH WINDOW_HEIGHT
	style		WINDOW_STYLE_FILLED

	onEsc {
		close etpro_menu_main ; open MAIN_MENU
	}

// Window //

	WINDOW( "ET PRO", 50 ) 
	
// Buttons //
//2good - reorded in the way they where ment to be
	BUTTON( 6, 32, WINDOW_WIDTH-12, 18, "ET PRO WEBSITE", .3, 14, open etpro_menu_confirmwww )
	BUTTON( 6, 56, WINDOW_WIDTH-12, 18, "CONFIG", .3, 14, close etpro_menu_main ; open etpro_menu_config )
	BUTTON( 6, 80, WINDOW_WIDTH-12, 18, "HUD", .3, 14, close etpro_menu_main ; open etpro_menu_hud )
	BUTTON( 6, 104, WINDOW_WIDTH-12, 18, "CREDITS", .3, 14, close etpro_menu_main; open credits_etpro )
	BUTTON( 6, 128, WINDOW_WIDTH-12, 18, "RESET SETTINGS", .3, 14, open etpro_menu_reset )
	BUTTON( 6, 152, WINDOW_WIDTH-12, 18, "BACK", .3, 14, close etpro_menu_main ; open MAIN_MENU )
}
